package com.liveneo.adapter.base.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 案件信息表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmCaseInfoExample {
    protected String orderByClause;
    protected boolean distinct;
    protected List<Criteria> oredCriteria;

    public PrpmCaseInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 案件信息表
     * 数据库表：prpm_case_info
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andOrgIDIsNull() {
            addCriterion("OrgID is null");
            return (Criteria) this;
        }

        public Criteria andOrgIDIsNotNull() {
            addCriterion("OrgID is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIDEqualTo(String value) {
            addCriterion("OrgID =", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDNotEqualTo(String value) {
            addCriterion("OrgID <>", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDGreaterThan(String value) {
            addCriterion("OrgID >", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDGreaterThanOrEqualTo(String value) {
            addCriterion("OrgID >=", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDLessThan(String value) {
            addCriterion("OrgID <", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDLessThanOrEqualTo(String value) {
            addCriterion("OrgID <=", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDLike(String value) {
            addCriterion("OrgID like", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDNotLike(String value) {
            addCriterion("OrgID not like", value, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDIn(List<String> values) {
            addCriterion("OrgID in", values, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDNotIn(List<String> values) {
            addCriterion("OrgID not in", values, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDBetween(String value1, String value2) {
            addCriterion("OrgID between", value1, value2, "orgID");
            return (Criteria) this;
        }

        public Criteria andOrgIDNotBetween(String value1, String value2) {
            addCriterion("OrgID not between", value1, value2, "orgID");
            return (Criteria) this;
        }

        public Criteria andUnitCodeIsNull() {
            addCriterion("UnitCode is null");
            return (Criteria) this;
        }

        public Criteria andUnitCodeIsNotNull() {
            addCriterion("UnitCode is not null");
            return (Criteria) this;
        }

        public Criteria andUnitCodeEqualTo(String value) {
            addCriterion("UnitCode =", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotEqualTo(String value) {
            addCriterion("UnitCode <>", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeGreaterThan(String value) {
            addCriterion("UnitCode >", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeGreaterThanOrEqualTo(String value) {
            addCriterion("UnitCode >=", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeLessThan(String value) {
            addCriterion("UnitCode <", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeLessThanOrEqualTo(String value) {
            addCriterion("UnitCode <=", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeLike(String value) {
            addCriterion("UnitCode like", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotLike(String value) {
            addCriterion("UnitCode not like", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeIn(List<String> values) {
            addCriterion("UnitCode in", values, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotIn(List<String> values) {
            addCriterion("UnitCode not in", values, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeBetween(String value1, String value2) {
            addCriterion("UnitCode between", value1, value2, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotBetween(String value1, String value2) {
            addCriterion("UnitCode not between", value1, value2, "unitCode");
            return (Criteria) this;
        }

        public Criteria andMobileUserIsNull() {
            addCriterion("mobileUser is null");
            return (Criteria) this;
        }

        public Criteria andMobileUserIsNotNull() {
            addCriterion("mobileUser is not null");
            return (Criteria) this;
        }

        public Criteria andMobileUserEqualTo(Boolean value) {
            addCriterion("mobileUser =", value, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserNotEqualTo(Boolean value) {
            addCriterion("mobileUser <>", value, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserGreaterThan(Boolean value) {
            addCriterion("mobileUser >", value, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserGreaterThanOrEqualTo(Boolean value) {
            addCriterion("mobileUser >=", value, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserLessThan(Boolean value) {
            addCriterion("mobileUser <", value, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserLessThanOrEqualTo(Boolean value) {
            addCriterion("mobileUser <=", value, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserIn(List<Boolean> values) {
            addCriterion("mobileUser in", values, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserNotIn(List<Boolean> values) {
            addCriterion("mobileUser not in", values, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserBetween(Boolean value1, Boolean value2) {
            addCriterion("mobileUser between", value1, value2, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andMobileUserNotBetween(Boolean value1, Boolean value2) {
            addCriterion("mobileUser not between", value1, value2, "mobileUser");
            return (Criteria) this;
        }

        public Criteria andDamageDriverIsNull() {
            addCriterion("DamageDriver is null");
            return (Criteria) this;
        }

        public Criteria andDamageDriverIsNotNull() {
            addCriterion("DamageDriver is not null");
            return (Criteria) this;
        }

        public Criteria andDamageDriverEqualTo(String value) {
            addCriterion("DamageDriver =", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverNotEqualTo(String value) {
            addCriterion("DamageDriver <>", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverGreaterThan(String value) {
            addCriterion("DamageDriver >", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverGreaterThanOrEqualTo(String value) {
            addCriterion("DamageDriver >=", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverLessThan(String value) {
            addCriterion("DamageDriver <", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverLessThanOrEqualTo(String value) {
            addCriterion("DamageDriver <=", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverLike(String value) {
            addCriterion("DamageDriver like", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverNotLike(String value) {
            addCriterion("DamageDriver not like", value, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverIn(List<String> values) {
            addCriterion("DamageDriver in", values, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverNotIn(List<String> values) {
            addCriterion("DamageDriver not in", values, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverBetween(String value1, String value2) {
            addCriterion("DamageDriver between", value1, value2, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamageDriverNotBetween(String value1, String value2) {
            addCriterion("DamageDriver not between", value1, value2, "damageDriver");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceIsNull() {
            addCriterion("DamagePlace is null");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceIsNotNull() {
            addCriterion("DamagePlace is not null");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceEqualTo(String value) {
            addCriterion("DamagePlace =", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceNotEqualTo(String value) {
            addCriterion("DamagePlace <>", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceGreaterThan(String value) {
            addCriterion("DamagePlace >", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceGreaterThanOrEqualTo(String value) {
            addCriterion("DamagePlace >=", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceLessThan(String value) {
            addCriterion("DamagePlace <", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceLessThanOrEqualTo(String value) {
            addCriterion("DamagePlace <=", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceLike(String value) {
            addCriterion("DamagePlace like", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceNotLike(String value) {
            addCriterion("DamagePlace not like", value, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceIn(List<String> values) {
            addCriterion("DamagePlace in", values, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceNotIn(List<String> values) {
            addCriterion("DamagePlace not in", values, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceBetween(String value1, String value2) {
            addCriterion("DamagePlace between", value1, value2, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamagePlaceNotBetween(String value1, String value2) {
            addCriterion("DamagePlace not between", value1, value2, "damagePlace");
            return (Criteria) this;
        }

        public Criteria andDamageDateIsNull() {
            addCriterion("DamageDate is null");
            return (Criteria) this;
        }

        public Criteria andDamageDateIsNotNull() {
            addCriterion("DamageDate is not null");
            return (Criteria) this;
        }

        public Criteria andDamageDateEqualTo(Date value) {
            addCriterion("DamageDate =", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateNotEqualTo(Date value) {
            addCriterion("DamageDate <>", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateGreaterThan(Date value) {
            addCriterion("DamageDate >", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateGreaterThanOrEqualTo(Date value) {
            addCriterion("DamageDate >=", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateLessThan(Date value) {
            addCriterion("DamageDate <", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateLessThanOrEqualTo(Date value) {
            addCriterion("DamageDate <=", value, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateIn(List<Date> values) {
            addCriterion("DamageDate in", values, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateNotIn(List<Date> values) {
            addCriterion("DamageDate not in", values, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateBetween(Date value1, Date value2) {
            addCriterion("DamageDate between", value1, value2, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageDateNotBetween(Date value1, Date value2) {
            addCriterion("DamageDate not between", value1, value2, "damageDate");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkIsNull() {
            addCriterion("DamageRemark is null");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkIsNotNull() {
            addCriterion("DamageRemark is not null");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkEqualTo(String value) {
            addCriterion("DamageRemark =", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkNotEqualTo(String value) {
            addCriterion("DamageRemark <>", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkGreaterThan(String value) {
            addCriterion("DamageRemark >", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("DamageRemark >=", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkLessThan(String value) {
            addCriterion("DamageRemark <", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkLessThanOrEqualTo(String value) {
            addCriterion("DamageRemark <=", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkLike(String value) {
            addCriterion("DamageRemark like", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkNotLike(String value) {
            addCriterion("DamageRemark not like", value, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkIn(List<String> values) {
            addCriterion("DamageRemark in", values, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkNotIn(List<String> values) {
            addCriterion("DamageRemark not in", values, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkBetween(String value1, String value2) {
            addCriterion("DamageRemark between", value1, value2, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andDamageRemarkNotBetween(String value1, String value2) {
            addCriterion("DamageRemark not between", value1, value2, "damageRemark");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("UserName is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("UserName is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("UserName =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("UserName <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("UserName >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("UserName >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("UserName <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("UserName <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("UserName like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("UserName not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("UserName in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("UserName not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("UserName between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("UserName not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("UserPhone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("UserPhone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("UserPhone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("UserPhone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("UserPhone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("UserPhone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("UserPhone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("UserPhone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("UserPhone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("UserPhone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("UserPhone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("UserPhone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("UserPhone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("UserPhone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIsNull() {
            addCriterion("DelegateReamrk is null");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIsNotNull() {
            addCriterion("DelegateReamrk is not null");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkEqualTo(String value) {
            addCriterion("DelegateReamrk =", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotEqualTo(String value) {
            addCriterion("DelegateReamrk <>", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkGreaterThan(String value) {
            addCriterion("DelegateReamrk >", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkGreaterThanOrEqualTo(String value) {
            addCriterion("DelegateReamrk >=", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLessThan(String value) {
            addCriterion("DelegateReamrk <", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLessThanOrEqualTo(String value) {
            addCriterion("DelegateReamrk <=", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLike(String value) {
            addCriterion("DelegateReamrk like", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotLike(String value) {
            addCriterion("DelegateReamrk not like", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIn(List<String> values) {
            addCriterion("DelegateReamrk in", values, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotIn(List<String> values) {
            addCriterion("DelegateReamrk not in", values, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkBetween(String value1, String value2) {
            addCriterion("DelegateReamrk between", value1, value2, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotBetween(String value1, String value2) {
            addCriterion("DelegateReamrk not between", value1, value2, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andLicenseNoIsNull() {
            addCriterion("LicenseNo is null");
            return (Criteria) this;
        }

        public Criteria andLicenseNoIsNotNull() {
            addCriterion("LicenseNo is not null");
            return (Criteria) this;
        }

        public Criteria andLicenseNoEqualTo(String value) {
            addCriterion("LicenseNo =", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotEqualTo(String value) {
            addCriterion("LicenseNo <>", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoGreaterThan(String value) {
            addCriterion("LicenseNo >", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoGreaterThanOrEqualTo(String value) {
            addCriterion("LicenseNo >=", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoLessThan(String value) {
            addCriterion("LicenseNo <", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoLessThanOrEqualTo(String value) {
            addCriterion("LicenseNo <=", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoLike(String value) {
            addCriterion("LicenseNo like", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotLike(String value) {
            addCriterion("LicenseNo not like", value, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoIn(List<String> values) {
            addCriterion("LicenseNo in", values, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotIn(List<String> values) {
            addCriterion("LicenseNo not in", values, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoBetween(String value1, String value2) {
            addCriterion("LicenseNo between", value1, value2, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andLicenseNoNotBetween(String value1, String value2) {
            addCriterion("LicenseNo not between", value1, value2, "licenseNo");
            return (Criteria) this;
        }

        public Criteria andContactIsNull() {
            addCriterion("Contact is null");
            return (Criteria) this;
        }

        public Criteria andContactIsNotNull() {
            addCriterion("Contact is not null");
            return (Criteria) this;
        }

        public Criteria andContactEqualTo(String value) {
            addCriterion("Contact =", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotEqualTo(String value) {
            addCriterion("Contact <>", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThan(String value) {
            addCriterion("Contact >", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThanOrEqualTo(String value) {
            addCriterion("Contact >=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThan(String value) {
            addCriterion("Contact <", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThanOrEqualTo(String value) {
            addCriterion("Contact <=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLike(String value) {
            addCriterion("Contact like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotLike(String value) {
            addCriterion("Contact not like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactIn(List<String> values) {
            addCriterion("Contact in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotIn(List<String> values) {
            addCriterion("Contact not in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactBetween(String value1, String value2) {
            addCriterion("Contact between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotBetween(String value1, String value2) {
            addCriterion("Contact not between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNull() {
            addCriterion("ContactPhone is null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNotNull() {
            addCriterion("ContactPhone is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneEqualTo(String value) {
            addCriterion("ContactPhone =", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotEqualTo(String value) {
            addCriterion("ContactPhone <>", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThan(String value) {
            addCriterion("ContactPhone >", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ContactPhone >=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThan(String value) {
            addCriterion("ContactPhone <", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThanOrEqualTo(String value) {
            addCriterion("ContactPhone <=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLike(String value) {
            addCriterion("ContactPhone like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotLike(String value) {
            addCriterion("ContactPhone not like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIn(List<String> values) {
            addCriterion("ContactPhone in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotIn(List<String> values) {
            addCriterion("ContactPhone not in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneBetween(String value1, String value2) {
            addCriterion("ContactPhone between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotBetween(String value1, String value2) {
            addCriterion("ContactPhone not between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andSurveyDateIsNull() {
            addCriterion("SurveyDate is null");
            return (Criteria) this;
        }

        public Criteria andSurveyDateIsNotNull() {
            addCriterion("SurveyDate is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyDateEqualTo(Date value) {
            addCriterion("SurveyDate =", value, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateNotEqualTo(Date value) {
            addCriterion("SurveyDate <>", value, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateGreaterThan(Date value) {
            addCriterion("SurveyDate >", value, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("SurveyDate >=", value, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateLessThan(Date value) {
            addCriterion("SurveyDate <", value, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateLessThanOrEqualTo(Date value) {
            addCriterion("SurveyDate <=", value, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateIn(List<Date> values) {
            addCriterion("SurveyDate in", values, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateNotIn(List<Date> values) {
            addCriterion("SurveyDate not in", values, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateBetween(Date value1, Date value2) {
            addCriterion("SurveyDate between", value1, value2, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyDateNotBetween(Date value1, Date value2) {
            addCriterion("SurveyDate not between", value1, value2, "surveyDate");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceIsNull() {
            addCriterion("SurveyPlace is null");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceIsNotNull() {
            addCriterion("SurveyPlace is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceEqualTo(String value) {
            addCriterion("SurveyPlace =", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceNotEqualTo(String value) {
            addCriterion("SurveyPlace <>", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceGreaterThan(String value) {
            addCriterion("SurveyPlace >", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyPlace >=", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceLessThan(String value) {
            addCriterion("SurveyPlace <", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceLessThanOrEqualTo(String value) {
            addCriterion("SurveyPlace <=", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceLike(String value) {
            addCriterion("SurveyPlace like", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceNotLike(String value) {
            addCriterion("SurveyPlace not like", value, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceIn(List<String> values) {
            addCriterion("SurveyPlace in", values, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceNotIn(List<String> values) {
            addCriterion("SurveyPlace not in", values, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceBetween(String value1, String value2) {
            addCriterion("SurveyPlace between", value1, value2, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andSurveyPlaceNotBetween(String value1, String value2) {
            addCriterion("SurveyPlace not between", value1, value2, "surveyPlace");
            return (Criteria) this;
        }

        public Criteria andReportDateIsNull() {
            addCriterion("reportDate is null");
            return (Criteria) this;
        }

        public Criteria andReportDateIsNotNull() {
            addCriterion("reportDate is not null");
            return (Criteria) this;
        }

        public Criteria andReportDateEqualTo(Date value) {
            addCriterion("reportDate =", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotEqualTo(Date value) {
            addCriterion("reportDate <>", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateGreaterThan(Date value) {
            addCriterion("reportDate >", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateGreaterThanOrEqualTo(Date value) {
            addCriterion("reportDate >=", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateLessThan(Date value) {
            addCriterion("reportDate <", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateLessThanOrEqualTo(Date value) {
            addCriterion("reportDate <=", value, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateIn(List<Date> values) {
            addCriterion("reportDate in", values, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotIn(List<Date> values) {
            addCriterion("reportDate not in", values, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateBetween(Date value1, Date value2) {
            addCriterion("reportDate between", value1, value2, "reportDate");
            return (Criteria) this;
        }

        public Criteria andReportDateNotBetween(Date value1, Date value2) {
            addCriterion("reportDate not between", value1, value2, "reportDate");
            return (Criteria) this;
        }

        public Criteria andCaseStatusIsNull() {
            addCriterion("CaseStatus is null");
            return (Criteria) this;
        }

        public Criteria andCaseStatusIsNotNull() {
            addCriterion("CaseStatus is not null");
            return (Criteria) this;
        }

        public Criteria andCaseStatusEqualTo(Byte value) {
            addCriterion("CaseStatus =", value, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusNotEqualTo(Byte value) {
            addCriterion("CaseStatus <>", value, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusGreaterThan(Byte value) {
            addCriterion("CaseStatus >", value, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("CaseStatus >=", value, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusLessThan(Byte value) {
            addCriterion("CaseStatus <", value, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusLessThanOrEqualTo(Byte value) {
            addCriterion("CaseStatus <=", value, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusIn(List<Byte> values) {
            addCriterion("CaseStatus in", values, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusNotIn(List<Byte> values) {
            addCriterion("CaseStatus not in", values, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusBetween(Byte value1, Byte value2) {
            addCriterion("CaseStatus between", value1, value2, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andCaseStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("CaseStatus not between", value1, value2, "caseStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusIsNull() {
            addCriterion("LossStatus is null");
            return (Criteria) this;
        }

        public Criteria andLossStatusIsNotNull() {
            addCriterion("LossStatus is not null");
            return (Criteria) this;
        }

        public Criteria andLossStatusEqualTo(Byte value) {
            addCriterion("LossStatus =", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusNotEqualTo(Byte value) {
            addCriterion("LossStatus <>", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusGreaterThan(Byte value) {
            addCriterion("LossStatus >", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("LossStatus >=", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusLessThan(Byte value) {
            addCriterion("LossStatus <", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusLessThanOrEqualTo(Byte value) {
            addCriterion("LossStatus <=", value, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusIn(List<Byte> values) {
            addCriterion("LossStatus in", values, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusNotIn(List<Byte> values) {
            addCriterion("LossStatus not in", values, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusBetween(Byte value1, Byte value2) {
            addCriterion("LossStatus between", value1, value2, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andLossStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("LossStatus not between", value1, value2, "lossStatus");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagIsNull() {
            addCriterion("ReUploadFlag is null");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagIsNotNull() {
            addCriterion("ReUploadFlag is not null");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagEqualTo(Integer value) {
            addCriterion("ReUploadFlag =", value, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagNotEqualTo(Integer value) {
            addCriterion("ReUploadFlag <>", value, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagGreaterThan(Integer value) {
            addCriterion("ReUploadFlag >", value, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("ReUploadFlag >=", value, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagLessThan(Integer value) {
            addCriterion("ReUploadFlag <", value, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagLessThanOrEqualTo(Integer value) {
            addCriterion("ReUploadFlag <=", value, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagIn(List<Integer> values) {
            addCriterion("ReUploadFlag in", values, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagNotIn(List<Integer> values) {
            addCriterion("ReUploadFlag not in", values, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagBetween(Integer value1, Integer value2) {
            addCriterion("ReUploadFlag between", value1, value2, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andReUploadFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("ReUploadFlag not between", value1, value2, "reUploadFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagIsNull() {
            addCriterion("IsDealFlag is null");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagIsNotNull() {
            addCriterion("IsDealFlag is not null");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagEqualTo(Integer value) {
            addCriterion("IsDealFlag =", value, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagNotEqualTo(Integer value) {
            addCriterion("IsDealFlag <>", value, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagGreaterThan(Integer value) {
            addCriterion("IsDealFlag >", value, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("IsDealFlag >=", value, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagLessThan(Integer value) {
            addCriterion("IsDealFlag <", value, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagLessThanOrEqualTo(Integer value) {
            addCriterion("IsDealFlag <=", value, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagIn(List<Integer> values) {
            addCriterion("IsDealFlag in", values, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagNotIn(List<Integer> values) {
            addCriterion("IsDealFlag not in", values, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagBetween(Integer value1, Integer value2) {
            addCriterion("IsDealFlag between", value1, value2, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andIsDealFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("IsDealFlag not between", value1, value2, "isDealFlag");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeIsNull() {
            addCriterion("EndCaseTime is null");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeIsNotNull() {
            addCriterion("EndCaseTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeEqualTo(Date value) {
            addCriterion("EndCaseTime =", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeNotEqualTo(Date value) {
            addCriterion("EndCaseTime <>", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeGreaterThan(Date value) {
            addCriterion("EndCaseTime >", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EndCaseTime >=", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeLessThan(Date value) {
            addCriterion("EndCaseTime <", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeLessThanOrEqualTo(Date value) {
            addCriterion("EndCaseTime <=", value, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeIn(List<Date> values) {
            addCriterion("EndCaseTime in", values, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeNotIn(List<Date> values) {
            addCriterion("EndCaseTime not in", values, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeBetween(Date value1, Date value2) {
            addCriterion("EndCaseTime between", value1, value2, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andEndCaseTimeNotBetween(Date value1, Date value2) {
            addCriterion("EndCaseTime not between", value1, value2, "endCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeIsNull() {
            addCriterion("FinishCaseTime is null");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeIsNotNull() {
            addCriterion("FinishCaseTime is not null");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeEqualTo(Date value) {
            addCriterion("FinishCaseTime =", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeNotEqualTo(Date value) {
            addCriterion("FinishCaseTime <>", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeGreaterThan(Date value) {
            addCriterion("FinishCaseTime >", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FinishCaseTime >=", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeLessThan(Date value) {
            addCriterion("FinishCaseTime <", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeLessThanOrEqualTo(Date value) {
            addCriterion("FinishCaseTime <=", value, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeIn(List<Date> values) {
            addCriterion("FinishCaseTime in", values, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeNotIn(List<Date> values) {
            addCriterion("FinishCaseTime not in", values, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeBetween(Date value1, Date value2) {
            addCriterion("FinishCaseTime between", value1, value2, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andFinishCaseTimeNotBetween(Date value1, Date value2) {
            addCriterion("FinishCaseTime not between", value1, value2, "finishCaseTime");
            return (Criteria) this;
        }

        public Criteria andVinNoIsNull() {
            addCriterion("VinNo is null");
            return (Criteria) this;
        }

        public Criteria andVinNoIsNotNull() {
            addCriterion("VinNo is not null");
            return (Criteria) this;
        }

        public Criteria andVinNoEqualTo(String value) {
            addCriterion("VinNo =", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoNotEqualTo(String value) {
            addCriterion("VinNo <>", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoGreaterThan(String value) {
            addCriterion("VinNo >", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoGreaterThanOrEqualTo(String value) {
            addCriterion("VinNo >=", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoLessThan(String value) {
            addCriterion("VinNo <", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoLessThanOrEqualTo(String value) {
            addCriterion("VinNo <=", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoLike(String value) {
            addCriterion("VinNo like", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoNotLike(String value) {
            addCriterion("VinNo not like", value, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoIn(List<String> values) {
            addCriterion("VinNo in", values, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoNotIn(List<String> values) {
            addCriterion("VinNo not in", values, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoBetween(String value1, String value2) {
            addCriterion("VinNo between", value1, value2, "vinNo");
            return (Criteria) this;
        }

        public Criteria andVinNoNotBetween(String value1, String value2) {
            addCriterion("VinNo not between", value1, value2, "vinNo");
            return (Criteria) this;
        }

        public Criteria andEngineCodeIsNull() {
            addCriterion("EngineCode is null");
            return (Criteria) this;
        }

        public Criteria andEngineCodeIsNotNull() {
            addCriterion("EngineCode is not null");
            return (Criteria) this;
        }

        public Criteria andEngineCodeEqualTo(String value) {
            addCriterion("EngineCode =", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotEqualTo(String value) {
            addCriterion("EngineCode <>", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeGreaterThan(String value) {
            addCriterion("EngineCode >", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeGreaterThanOrEqualTo(String value) {
            addCriterion("EngineCode >=", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeLessThan(String value) {
            addCriterion("EngineCode <", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeLessThanOrEqualTo(String value) {
            addCriterion("EngineCode <=", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeLike(String value) {
            addCriterion("EngineCode like", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotLike(String value) {
            addCriterion("EngineCode not like", value, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeIn(List<String> values) {
            addCriterion("EngineCode in", values, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotIn(List<String> values) {
            addCriterion("EngineCode not in", values, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeBetween(String value1, String value2) {
            addCriterion("EngineCode between", value1, value2, "engineCode");
            return (Criteria) this;
        }

        public Criteria andEngineCodeNotBetween(String value1, String value2) {
            addCriterion("EngineCode not between", value1, value2, "engineCode");
            return (Criteria) this;
        }

        public Criteria andPlateTypeIsNull() {
            addCriterion("PlateType is null");
            return (Criteria) this;
        }

        public Criteria andPlateTypeIsNotNull() {
            addCriterion("PlateType is not null");
            return (Criteria) this;
        }

        public Criteria andPlateTypeEqualTo(String value) {
            addCriterion("PlateType =", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeNotEqualTo(String value) {
            addCriterion("PlateType <>", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeGreaterThan(String value) {
            addCriterion("PlateType >", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("PlateType >=", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeLessThan(String value) {
            addCriterion("PlateType <", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeLessThanOrEqualTo(String value) {
            addCriterion("PlateType <=", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeLike(String value) {
            addCriterion("PlateType like", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeNotLike(String value) {
            addCriterion("PlateType not like", value, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeIn(List<String> values) {
            addCriterion("PlateType in", values, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeNotIn(List<String> values) {
            addCriterion("PlateType not in", values, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeBetween(String value1, String value2) {
            addCriterion("PlateType between", value1, value2, "plateType");
            return (Criteria) this;
        }

        public Criteria andPlateTypeNotBetween(String value1, String value2) {
            addCriterion("PlateType not between", value1, value2, "plateType");
            return (Criteria) this;
        }

        public Criteria andBrandModelIsNull() {
            addCriterion("BrandModel is null");
            return (Criteria) this;
        }

        public Criteria andBrandModelIsNotNull() {
            addCriterion("BrandModel is not null");
            return (Criteria) this;
        }

        public Criteria andBrandModelEqualTo(String value) {
            addCriterion("BrandModel =", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelNotEqualTo(String value) {
            addCriterion("BrandModel <>", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelGreaterThan(String value) {
            addCriterion("BrandModel >", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelGreaterThanOrEqualTo(String value) {
            addCriterion("BrandModel >=", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelLessThan(String value) {
            addCriterion("BrandModel <", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelLessThanOrEqualTo(String value) {
            addCriterion("BrandModel <=", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelLike(String value) {
            addCriterion("BrandModel like", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelNotLike(String value) {
            addCriterion("BrandModel not like", value, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelIn(List<String> values) {
            addCriterion("BrandModel in", values, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelNotIn(List<String> values) {
            addCriterion("BrandModel not in", values, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelBetween(String value1, String value2) {
            addCriterion("BrandModel between", value1, value2, "brandModel");
            return (Criteria) this;
        }

        public Criteria andBrandModelNotBetween(String value1, String value2) {
            addCriterion("BrandModel not between", value1, value2, "brandModel");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseIsNull() {
            addCriterion("DriverLicense is null");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseIsNotNull() {
            addCriterion("DriverLicense is not null");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseEqualTo(String value) {
            addCriterion("DriverLicense =", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotEqualTo(String value) {
            addCriterion("DriverLicense <>", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseGreaterThan(String value) {
            addCriterion("DriverLicense >", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseGreaterThanOrEqualTo(String value) {
            addCriterion("DriverLicense >=", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseLessThan(String value) {
            addCriterion("DriverLicense <", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseLessThanOrEqualTo(String value) {
            addCriterion("DriverLicense <=", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseLike(String value) {
            addCriterion("DriverLicense like", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotLike(String value) {
            addCriterion("DriverLicense not like", value, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseIn(List<String> values) {
            addCriterion("DriverLicense in", values, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotIn(List<String> values) {
            addCriterion("DriverLicense not in", values, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseBetween(String value1, String value2) {
            addCriterion("DriverLicense between", value1, value2, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andDriverLicenseNotBetween(String value1, String value2) {
            addCriterion("DriverLicense not between", value1, value2, "driverLicense");
            return (Criteria) this;
        }

        public Criteria andFrameNoIsNull() {
            addCriterion("FrameNo is null");
            return (Criteria) this;
        }

        public Criteria andFrameNoIsNotNull() {
            addCriterion("FrameNo is not null");
            return (Criteria) this;
        }

        public Criteria andFrameNoEqualTo(String value) {
            addCriterion("FrameNo =", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotEqualTo(String value) {
            addCriterion("FrameNo <>", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoGreaterThan(String value) {
            addCriterion("FrameNo >", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoGreaterThanOrEqualTo(String value) {
            addCriterion("FrameNo >=", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoLessThan(String value) {
            addCriterion("FrameNo <", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoLessThanOrEqualTo(String value) {
            addCriterion("FrameNo <=", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoLike(String value) {
            addCriterion("FrameNo like", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotLike(String value) {
            addCriterion("FrameNo not like", value, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoIn(List<String> values) {
            addCriterion("FrameNo in", values, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotIn(List<String> values) {
            addCriterion("FrameNo not in", values, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoBetween(String value1, String value2) {
            addCriterion("FrameNo between", value1, value2, "frameNo");
            return (Criteria) this;
        }

        public Criteria andFrameNoNotBetween(String value1, String value2) {
            addCriterion("FrameNo not between", value1, value2, "frameNo");
            return (Criteria) this;
        }

        public Criteria andTempCarIsNull() {
            addCriterion("TempCar is null");
            return (Criteria) this;
        }

        public Criteria andTempCarIsNotNull() {
            addCriterion("TempCar is not null");
            return (Criteria) this;
        }

        public Criteria andTempCarEqualTo(String value) {
            addCriterion("TempCar =", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarNotEqualTo(String value) {
            addCriterion("TempCar <>", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarGreaterThan(String value) {
            addCriterion("TempCar >", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarGreaterThanOrEqualTo(String value) {
            addCriterion("TempCar >=", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarLessThan(String value) {
            addCriterion("TempCar <", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarLessThanOrEqualTo(String value) {
            addCriterion("TempCar <=", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarLike(String value) {
            addCriterion("TempCar like", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarNotLike(String value) {
            addCriterion("TempCar not like", value, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarIn(List<String> values) {
            addCriterion("TempCar in", values, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarNotIn(List<String> values) {
            addCriterion("TempCar not in", values, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarBetween(String value1, String value2) {
            addCriterion("TempCar between", value1, value2, "tempCar");
            return (Criteria) this;
        }

        public Criteria andTempCarNotBetween(String value1, String value2) {
            addCriterion("TempCar not between", value1, value2, "tempCar");
            return (Criteria) this;
        }

        public Criteria andAccidentRespIsNull() {
            addCriterion("AccidentResp is null");
            return (Criteria) this;
        }

        public Criteria andAccidentRespIsNotNull() {
            addCriterion("AccidentResp is not null");
            return (Criteria) this;
        }

        public Criteria andAccidentRespEqualTo(String value) {
            addCriterion("AccidentResp =", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespNotEqualTo(String value) {
            addCriterion("AccidentResp <>", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespGreaterThan(String value) {
            addCriterion("AccidentResp >", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespGreaterThanOrEqualTo(String value) {
            addCriterion("AccidentResp >=", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespLessThan(String value) {
            addCriterion("AccidentResp <", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespLessThanOrEqualTo(String value) {
            addCriterion("AccidentResp <=", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespLike(String value) {
            addCriterion("AccidentResp like", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespNotLike(String value) {
            addCriterion("AccidentResp not like", value, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespIn(List<String> values) {
            addCriterion("AccidentResp in", values, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespNotIn(List<String> values) {
            addCriterion("AccidentResp not in", values, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespBetween(String value1, String value2) {
            addCriterion("AccidentResp between", value1, value2, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andAccidentRespNotBetween(String value1, String value2) {
            addCriterion("AccidentResp not between", value1, value2, "accidentResp");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeIsNull() {
            addCriterion("CompanyCode is null");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeIsNotNull() {
            addCriterion("CompanyCode is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeEqualTo(String value) {
            addCriterion("CompanyCode =", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotEqualTo(String value) {
            addCriterion("CompanyCode <>", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeGreaterThan(String value) {
            addCriterion("CompanyCode >", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CompanyCode >=", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeLessThan(String value) {
            addCriterion("CompanyCode <", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeLessThanOrEqualTo(String value) {
            addCriterion("CompanyCode <=", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeLike(String value) {
            addCriterion("CompanyCode like", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotLike(String value) {
            addCriterion("CompanyCode not like", value, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeIn(List<String> values) {
            addCriterion("CompanyCode in", values, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotIn(List<String> values) {
            addCriterion("CompanyCode not in", values, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeBetween(String value1, String value2) {
            addCriterion("CompanyCode between", value1, value2, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyCodeNotBetween(String value1, String value2) {
            addCriterion("CompanyCode not between", value1, value2, "companyCode");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagIsNull() {
            addCriterion("CompanyFlag is null");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagIsNotNull() {
            addCriterion("CompanyFlag is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagEqualTo(String value) {
            addCriterion("CompanyFlag =", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagNotEqualTo(String value) {
            addCriterion("CompanyFlag <>", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagGreaterThan(String value) {
            addCriterion("CompanyFlag >", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagGreaterThanOrEqualTo(String value) {
            addCriterion("CompanyFlag >=", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagLessThan(String value) {
            addCriterion("CompanyFlag <", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagLessThanOrEqualTo(String value) {
            addCriterion("CompanyFlag <=", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagLike(String value) {
            addCriterion("CompanyFlag like", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagNotLike(String value) {
            addCriterion("CompanyFlag not like", value, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagIn(List<String> values) {
            addCriterion("CompanyFlag in", values, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagNotIn(List<String> values) {
            addCriterion("CompanyFlag not in", values, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagBetween(String value1, String value2) {
            addCriterion("CompanyFlag between", value1, value2, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andCompanyFlagNotBetween(String value1, String value2) {
            addCriterion("CompanyFlag not between", value1, value2, "companyFlag");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("Flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("Flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("Flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("Flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("Flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("Flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("Flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("Flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("Flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("Flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("Flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("Flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("Flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("Flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeIsNull() {
            addCriterion("case_deal_type is null");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeIsNotNull() {
            addCriterion("case_deal_type is not null");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeEqualTo(String value) {
            addCriterion("case_deal_type =", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeNotEqualTo(String value) {
            addCriterion("case_deal_type <>", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeGreaterThan(String value) {
            addCriterion("case_deal_type >", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeGreaterThanOrEqualTo(String value) {
            addCriterion("case_deal_type >=", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeLessThan(String value) {
            addCriterion("case_deal_type <", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeLessThanOrEqualTo(String value) {
            addCriterion("case_deal_type <=", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeLike(String value) {
            addCriterion("case_deal_type like", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeNotLike(String value) {
            addCriterion("case_deal_type not like", value, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeIn(List<String> values) {
            addCriterion("case_deal_type in", values, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeNotIn(List<String> values) {
            addCriterion("case_deal_type not in", values, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeBetween(String value1, String value2) {
            addCriterion("case_deal_type between", value1, value2, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andCaseDealTypeNotBetween(String value1, String value2) {
            addCriterion("case_deal_type not between", value1, value2, "caseDealType");
            return (Criteria) this;
        }

        public Criteria andBillingStatusIsNull() {
            addCriterion("billing_status is null");
            return (Criteria) this;
        }

        public Criteria andBillingStatusIsNotNull() {
            addCriterion("billing_status is not null");
            return (Criteria) this;
        }

        public Criteria andBillingStatusEqualTo(String value) {
            addCriterion("billing_status =", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusNotEqualTo(String value) {
            addCriterion("billing_status <>", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusGreaterThan(String value) {
            addCriterion("billing_status >", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusGreaterThanOrEqualTo(String value) {
            addCriterion("billing_status >=", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusLessThan(String value) {
            addCriterion("billing_status <", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusLessThanOrEqualTo(String value) {
            addCriterion("billing_status <=", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusLike(String value) {
            addCriterion("billing_status like", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusNotLike(String value) {
            addCriterion("billing_status not like", value, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusIn(List<String> values) {
            addCriterion("billing_status in", values, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusNotIn(List<String> values) {
            addCriterion("billing_status not in", values, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusBetween(String value1, String value2) {
            addCriterion("billing_status between", value1, value2, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingStatusNotBetween(String value1, String value2) {
            addCriterion("billing_status not between", value1, value2, "billingStatus");
            return (Criteria) this;
        }

        public Criteria andBillingTypeIsNull() {
            addCriterion("billing_type is null");
            return (Criteria) this;
        }

        public Criteria andBillingTypeIsNotNull() {
            addCriterion("billing_type is not null");
            return (Criteria) this;
        }

        public Criteria andBillingTypeEqualTo(String value) {
            addCriterion("billing_type =", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeNotEqualTo(String value) {
            addCriterion("billing_type <>", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeGreaterThan(String value) {
            addCriterion("billing_type >", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeGreaterThanOrEqualTo(String value) {
            addCriterion("billing_type >=", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeLessThan(String value) {
            addCriterion("billing_type <", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeLessThanOrEqualTo(String value) {
            addCriterion("billing_type <=", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeLike(String value) {
            addCriterion("billing_type like", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeNotLike(String value) {
            addCriterion("billing_type not like", value, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeIn(List<String> values) {
            addCriterion("billing_type in", values, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeNotIn(List<String> values) {
            addCriterion("billing_type not in", values, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeBetween(String value1, String value2) {
            addCriterion("billing_type between", value1, value2, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingTypeNotBetween(String value1, String value2) {
            addCriterion("billing_type not between", value1, value2, "billingType");
            return (Criteria) this;
        }

        public Criteria andBillingResultIsNull() {
            addCriterion("billing_result is null");
            return (Criteria) this;
        }

        public Criteria andBillingResultIsNotNull() {
            addCriterion("billing_result is not null");
            return (Criteria) this;
        }

        public Criteria andBillingResultEqualTo(String value) {
            addCriterion("billing_result =", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultNotEqualTo(String value) {
            addCriterion("billing_result <>", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultGreaterThan(String value) {
            addCriterion("billing_result >", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultGreaterThanOrEqualTo(String value) {
            addCriterion("billing_result >=", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultLessThan(String value) {
            addCriterion("billing_result <", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultLessThanOrEqualTo(String value) {
            addCriterion("billing_result <=", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultLike(String value) {
            addCriterion("billing_result like", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultNotLike(String value) {
            addCriterion("billing_result not like", value, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultIn(List<String> values) {
            addCriterion("billing_result in", values, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultNotIn(List<String> values) {
            addCriterion("billing_result not in", values, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultBetween(String value1, String value2) {
            addCriterion("billing_result between", value1, value2, "billingResult");
            return (Criteria) this;
        }

        public Criteria andBillingResultNotBetween(String value1, String value2) {
            addCriterion("billing_result not between", value1, value2, "billingResult");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 案件信息表
     * 数据库表：prpm_case_info
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String condition;
        private Object value;
        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}